package com.ehome.poct.core.mapping;

import com.ehome.paymentcenter.api.pay.constant.PayStatus;
import com.ehome.poct.core.api.constant.enums.OrderType;
import com.ehome.poct.core.api.dto.check.CheckProjectDTO;
import com.ehome.poct.core.api.dto.check.gold.TestConfPoctStripTypeDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

import java.math.BigDecimal;

@Mapper(componentModel = "spring")
public interface TestStripMapping {
    @Mapping(source = "checkProjectCode",target = "typeCode")
    @Mapping(source = "checkProjectName",target = "name")
    @Mapping(source = "checkProjectName",target = "fullName")
    @Mapping(source = "salePrice",target = "price")
    @Mapping(source = "showOriginPrice",target = "showOriginPrice")
    TestConfPoctStripTypeDTO to(CheckProjectDTO checkProjectDTO);
}
